import Vue from 'vue'
import {
  Form,
  FormItem,
  Message,
  Layout,
  Sider,
  Header,
  Content,
  Row,
  Col,
  Menu,
  MenuItem,
  Submenu,
  Icon,
  MenuGroup,
  Card,
  Input,
  Button,
  Alert,
  Table,
  Switch,
  Page,
  Modal,
  RadioGroup,
  Radio,
  DatePicker,
  Poptip,
  Select,
  Option,
  Tag,
  Carousel,
  CarouselItem,
  Avatar,
  List,
  Upload,
  Dropdown,
  DropdownItem,
  DropdownMenu
} from 'view-design'

Vue.component('Form', Form)
Vue.component('FormItem', FormItem)
Vue.component('Layout', Layout)
Vue.component('Sider', Sider)
Vue.component('Header', Header)
Vue.component('Content', Content)
Vue.component('Row', Row)
Vue.component('ICol', Col)
Vue.component('Menu', Menu)
Vue.component('MenuItem', MenuItem)
Vue.component('Submenu', Submenu)
Vue.component('Icon', Icon)
Vue.component('MenuGroup', MenuGroup)
Vue.component('Card', Card)
Vue.component('Input', Input)
Vue.component('Button', Button)
Vue.component('Alert', Alert)
Vue.component('Table', Table)
Vue.component('ISwitch', Switch)
Vue.component('Page', Page)
Vue.component('Modal', Modal)
Vue.component('RadioGroup', RadioGroup)
Vue.component('Radio', Radio)
Vue.component('DatePicker', DatePicker)
Vue.component('Poptip', Poptip)
Vue.component('Select', Select)
Vue.component('Option', Option)
Vue.component('Tag', Tag)
Vue.component('Carousel', Carousel)
Vue.component('CarouselItem', CarouselItem)
Vue.component('Avatar', Avatar)
Vue.component('List', List)
Vue.component('ListItem', List.Item)
Vue.component('ListItemMeta', List.Item.Meta)
Vue.component('Upload', Upload)
Vue.component('Dropdown', Dropdown)
Vue.component('DropdownItem', DropdownItem)
Vue.component('DropdownMenu', DropdownMenu)
Vue.prototype.$Message = Message
Vue.prototype.$Modal = Modal
